package cn.itsource.user.domain;

import cn.itsource.basic.domain.BaseDomain;
import lombok.Data;

import java.util.Date;

@Data
public class User extends BaseDomain{
    //用户名
    private String username;
    //邮件
    private String email;
    //电话
    private String phone;
    //颜值
    private String salt;
    //密码
    private String password;
    //用户状态 0:待激活 1:正常
    private Integer state;
    //用户年龄
    private String age;
    //用户注册事件
    private Date createtime=new Date();
    //用户头像
    private String headImg;
    //用户登录信息
    private LoginInfo loginInfo;

}
